GeminiLabs\SiteReviews\Controllers\Api\Version1\RestReviewController B

Total Complexity 84
Dependencies 11
Dependents 1
Total lines 537
Lines of code 397
Logical lines of code 204
Comment lines 93
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
get_items()
S
52 7 22
update_item_permissions_check()
S
53 7 20
create_item_permissions_check()
S
54 7 19
getAvailableActions()
S
55 6 20
prepareLinks()
S
44 4 48
delete_item()
S
53 5 20
get_items_permissions_check()
S
58 5 14
prepareResponse()
S
52 4 24
prepare_item_for_response()
S
53 4 22
create_item()
S
56 4 16
normalizedArgs()
S
58 4 16
get_item_permissions_check()
S
60 4 12
check_assign_terms_permission()
S
61 4 12
register_routes()
S
44 1 51
update_item()
S
58 3 14
delete_item_permissions_check()
S
60 3 12
forceDeleteItem()
S
59 2 13
get_item()
S
66 2 8
get_item_schema()
S
71 2 6
check_read_permission()
S
78 2 3
renderedItem()
S
70 1 6
__construct()
S
75 1 4
get_collection_params()
S
71 1 5
renderedItems()
S
63 1 10